package com.yiyi.credit.manage.sso.service.inner;


import com.yiyi.credit.manage.sso.common.exception.ServiceException;

public interface TokenService {




    String generatorToken(Long userId, Long expire) throws ServiceException;


    void delToken(String token) throws ServiceException;


    Long getUidByToken(String token) throws ServiceException;


    Boolean verifyToken(String token) throws ServiceException;
}
